﻿using UnityEngine;

namespace Pisces
{
	/**
	 * mono单例
     * created by wangqiang
    **/
	public abstract class AbstractMonoSingletonModule<T> : MonoBehaviourSingleton<T> where T : MonoBehaviour, InterfaceEntityLiftcycle
	{
		public virtual void onInit()
		{
		}

		public virtual void onLoaded()
		{
		}

		public virtual void onAwake()
		{
		}

		public virtual void onUpdate(float deltaTime)
		{
		}

		public virtual void onDestroy()
		{
		}
	}
}